import { isNoNullOrUndefind } from "./utils";


/**
 * 判断sessionStorage是否存在key为键的值
 * @param {} key 
 */
export function ItemExistsInseesion(key) {
  return  isNoNullOrUndefind( window.sessionStorage.getItem(key)); 
}